# mongo.conf
smallfiles=true

#where to log
logpath=/var/log/mongo/mongod-{{ ansible_hostname }}.log

logappend=true

# fork and run in background
fork = true

port = {{ mongod_port }}

dbpath={{ mongodb_datadir_prefix }}mongo-{{ ansible_hostname }}
keyFile={{ mongodb_datadir_prefix }}/secret

# location of pidfile
pidfilepath=/var/run/mongod-{{ ansible_hostname }}.pid
